<template>
  <cml-module :moduleName="$t('cmlpanel.ai')"
    icon="aifuzhu"
    v-bind="$attrs">
    <!-- 语音合成 -->
    <!-- <voice-feedback v-cml></voice-feedback> -->
    <!-- 语音识别 -->
    <!-- <voice-recognize v-cml></voice-recognize> -->
    <!-- 人脸识别 -->
    <!-- <face-recognize v-cml></face-recognize> -->
    <!-- 手势识别 -->
    <!-- <gesture-recognize v-cml></gesture-recognize> -->
    <!-- 光感识别 -->
    <!-- <light-sensor v-cml></light-sensor> -->
    <component v-for="(name, index) in $_auth"
      :key="index"
      :is='name'></component>
  </cml-module>
</template>
<script>
import VoiceFeedback from './voiceFeedback'
import VoiceRecognize from './voiceRecognize'
import FaceRecognize from './faceRecognize'
import GestureRecognize from './gestureRecognize'
import LightSensor from './lightSensor'
import CmlModule from '../cml-module'

export default {
  name: 'AiAssistant',
  inheritAttrs: false,
  components: {
    VoiceFeedback,
    VoiceRecognize,
    FaceRecognize,
    GestureRecognize,
    LightSensor,
    CmlModule
  },
  model: {},
  props: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  beforeDestroy() {},
  methods: {}
}
</script>
<style lang="scss" scoped>
@import '../../style/panel-var.scss';
@import '../../style/panel-mixin.scss';
</style>
